/*
 * Created by LiuYou on 2020/12/14.
 *
 */

#ifndef EFFECTIVE_CPP_2_AOCDISPLAY_HPP
#define EFFECTIVE_CPP_2_AOCDISPLAY_HPP

#include <xstring>
#include "Display.hpp"

namespace Display {


    class AocDisplay : public Display {
    public:
        AocDisplay(int id, std::string info);

        ~AocDisplay() override;

        int getId() const;

        const std::string& getInfo() const;

        void show() override;

    private:
        int id;
        std::string info;

    };

}


#endif //EFFECTIVE_CPP_2_AOCDISPLAY_HPP
